package com.yuyou.train.admin.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;

import com.yuyou.train.service.api.admin.dto.AuthUserDTO;
import com.yuyou.train.service.api.admin.entity.AuthUser;
import com.yuyou.train.util.bean.Pagination;

@Mapper
public interface AuthUserMapper {
    int deleteByPrimaryKey(String id);

    int insert(AuthUser record);

    AuthUserDTO selectByPrimaryKey(String id);
    
    AuthUser selectBaseByPrimaryKey(String id);

    int updateByPrimaryKeySelective(AuthUser record);

    int updateByPrimaryKey(AuthUser record);

    int findAuthUserPageCount(Pagination<AuthUserDTO> p);

    List<AuthUserDTO> findAuthUserPageList(Pagination<AuthUserDTO> p);
    
    AuthUser seleteAuthUserByAccount(String account);
}